﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace NczControlLibrary {
    public class ItemPresentor : Panel {
        public ItemPresentor() {
        }
        #region dependency
        public static readonly DependencyProperty ItemsProperty = DependencyProperty.Register("Items", typeof(object[]), typeof(ItemPresentor), new PropertyMetadata(default(object[]), (o, k) => {
        }));
        public object[] Items { get { return (object[])this.GetValue(ItemsProperty); } set { this.SetValue(ItemsProperty, value); } }
        public static readonly DependencyProperty ItemTemplateProperty = DependencyProperty.Register("ItemTemplate", typeof(DataTemplate), typeof(ItemPresentor), new PropertyMetadata(default(DataTemplate), (o, k) => {
        }));
        public DataTemplate ItemTemplate { get { return (DataTemplate)this.GetValue(ItemTemplateProperty); } set { this.SetValue(ItemTemplateProperty, value); } }
        #endregion
    }
}
